package fauxman.PinkyStates;

import java.awt.Color;
import java.awt.Graphics;

import fauxman.DynamicElements.Ghost;
import fauxman.interfaces.DynamicElement;
import fauxman.model.WorldModel;
import fauxman.states.GhostState;

public abstract class PinkyState extends GhostState{
	public void draw(Graphics g, Ghost ghost) {
		super.draw(g,ghost);
		g.setColor(Color.PINK);
		g.fillRect((int)ghost.getDiscretePosition().getX()*ghost.getWidth(),(int)ghost.getDiscretePosition().getY()*ghost.getHeight(),ghost.getHeight(),ghost.getWidth());
		g.setColor(Color.BLUE);
		g.fillRect((int)ghost.getLookAhead().getX()*ghost.getWidth(),(int)ghost.getLookAhead().getY()*ghost.getHeight(),ghost.getHeight(),ghost.getWidth());
//		g.setColor(Color.GREEN);
//		int[] target = ghost.getTarget();
//		g.fillRect(target[0]*ghost.getWidth(),target[1]*ghost.getHeight(),ghost.getHeight(),ghost.getWidth());
	}
}